package com.xqh.study.springtxjpa.dao;

import com.xqh.study.springtxjpa.domain.Customer;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @ClassName CustomerRepository
 * @Description TODO
 * @Author xuqianghui
 * @Date 2019/12/30 21:27
 * @Version 1.0
 */
public interface CustomerRepository extends JpaRepository<Customer, Long> {

    Customer findOneByUsername(String username);
}
